import styled from "styled-components";
import bg from "../../assets/img/bg.png";
export const Center = styled.div`
  height: 2rem;
  .avatar {
    height: 2rem;
    margin-top: -0.44rem;
    padding-top: 0.64rem;
    padding-left: 0.22rem;
    box-sizing: border-box;
    background: #f3a344 url(${bg}) no-repeat center center;
    display: flex;
    align-items: center;
    color: #fff;
    img {
      width: 0.63rem;
      height: 0.63rem;
      border-radius: 0.35rem;
      margin-right: 0.2rem;
      border: 0.02rem solid #fff;
    }
    .nick-name {
      font-size: 0.16rem;
    }
  }
  .my-order-tab {
    display: flex;
    background: #fff;
    height: 0.79rem;
    font-size: 0.14rem;
    color: #797d82;
    margin-bottom: 0.1rem;
    li {
      flex: 1;
      padding-top: 0.15rem;
      text-align: center;
      line-height: 0.2rem;
      img {
        width: 0.26rem;
        height: 0.26rem;
      }
    }
  }
  .margin-set {
    display: flex;
    padding: 0 0.15rem;
    height: 0.49rem;
    align-items: center;
    background: #fff;
    &::after {
      content: "";
      height: 1px;
      background: #ededed;
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      transform: scale(0.5);
    }
    .label {
      margin-left: 0.15rem;
      flex: 1;
      font-size: 0.15rem;
    }
  }
  .my-card {
    position: relative;
  }
`;
